package com.ruoyi.system.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 热销商品配置对象 bestsellers
 * 
 * @author zhang
 * @date 2025-07-15
 */
public class Bestsellers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 热销商品编号 */
    private Long bestsellersId;

    /** 热销商品名 */
    @Excel(name = "热销商品名")
    private String bestsellersProductName;

    /** 热销商品跳转连接 */
    @Excel(name = "热销商品跳转连接")
    private String bestsellersProductHref;

    /** 排序值 */
    @Excel(name = "排序值")
    private Long bestsellersSort;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long bestsellersProductId;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:s")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:s")
    private LocalDateTime bestsellersAddtime;

    public void setBestsellersId(Long bestsellersId)
    {
        this.bestsellersId = bestsellersId;
    }

    public Long getBestsellersId() 
    {
        return bestsellersId;
    }

    public void setBestsellersProductName(String bestsellersProductName) 
    {
        this.bestsellersProductName = bestsellersProductName;
    }

    public String getBestsellersProductName() 
    {
        return bestsellersProductName;
    }

    public void setBestsellersProductHref(String bestsellersProductHref) 
    {
        this.bestsellersProductHref = bestsellersProductHref;
    }

    public String getBestsellersProductHref() 
    {
        return bestsellersProductHref;
    }

    public void setBestsellersSort(Long bestsellersSort) 
    {
        this.bestsellersSort = bestsellersSort;
    }

    public Long getBestsellersSort() 
    {
        return bestsellersSort;
    }

    public void setBestsellersProductId(Long bestsellersProductId) 
    {
        this.bestsellersProductId = bestsellersProductId;
    }

    public Long getBestsellersProductId() 
    {
        return bestsellersProductId;
    }

    public void setBestsellersAddtime(LocalDateTime bestsellersAddtime)
    {
        this.bestsellersAddtime = bestsellersAddtime;
    }

    public LocalDateTime getBestsellersAddtime()
    {
        return bestsellersAddtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bestsellersId", getBestsellersId())
            .append("bestsellersProductName", getBestsellersProductName())
            .append("bestsellersProductHref", getBestsellersProductHref())
            .append("bestsellersSort", getBestsellersSort())
            .append("bestsellersProductId", getBestsellersProductId())
            .append("bestsellersAddtime", getBestsellersAddtime())
            .toString();
    }
}
